package org.divineryang.mapper;

import org.divineryang.model.entity.system.SysMenu;

import java.util.List;

/**
 * @program new-bee
 * @Description
 * @Author Diviner Yang
 * @Date 2024/04/21 18:06
 * @Version 1.0
 */
public interface SysMenuMapper {

    List<SysMenu> findAll();

    void save(SysMenu sysMenu);

    void updateById(SysMenu sysMenu);

    void removeById(Long id);

    int countByParentId(Long id);

    List<SysMenu> selectListByUserId(Long userId);

    SysMenu selectById(Long parentId);
}
